package com.fis.vaadin;

import com.fss.dictionary.Dictionary;
import com.vaadin.ui.Component;
import com.vaadin.ui.ComponentContainer;

public interface VaadinFormBuilder {

	abstract boolean isValidate(Component form, VaadinFormData formData,
			Dictionary dictionary) throws Exception;

	abstract boolean isValidate(Component form, VaadinFormData formData,
			Dictionary dictionary, String[] fields) throws Exception;

	abstract boolean isValidateExclude(Component form, VaadinFormData formData,
			Dictionary dictionary, String[] fields) throws Exception;

	void buildForm(ComponentContainer form, VaadinFormData formData,
			Dictionary dictionary) throws Exception;

}
